package com.jinmdz.app.api.api.model.coffin;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModelProperty;

/**
 * 遗体装棺逝者相关信息
 *
 * @author JiYanJiang
 * @date 2020-08-25 09:40
 */
public class CoffinDeadData extends BaseBean {

    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 逝者姓名
     */
    @ApiModelProperty(value = "逝者姓名", name = "deadName", position = 2)
    private String deadName;

    /**
     * 逝者年龄
     */
    @ApiModelProperty(value = "逝者年龄", name = "deadAge", position = 3)
    private String deadAge;

    /**
     * 家属姓名
     */
    @ApiModelProperty(value = "家属姓名", name = "memberName", position = 4)
    private String memberName;

    /**
     * 家属手机号码
     */
    @ApiModelProperty(value = "家属手机号码", name = "mobilePhone", position = 5)
    private String mobilePhone;

    /**
     * 与逝者关系文本
     */
    @ApiModelProperty(value = "与逝者关系文本", name = "memberRelation", position = 6)
    private String memberRelation;
    /**
     * 费用id
     */
    @ApiModelProperty(value = "费用id", name = "id", position = 7)
    private Integer id;
    /**
     * 服务项目外键
     */
    @ApiModelProperty(value = "服务项目外键", name = "serviceItemId", position = 8)
    private Integer serviceItemId;

    /**
     * 服务项目费用名称
     */
    @AnValidate(name = "服务项目费用名称")
    @ApiModelProperty(value = "服务项目费用名称", name = "itemName", position = 9)
    private String itemName;

    /**
     * 是否不可结算
     */
    @AnValidate(name = "是否不可结算")
    @ApiModelProperty(value = "是否不可结算", name = "asSettled", position = 10)
    private Integer asUnsettled;

    /**
     * 是否结算
     */
    @AnValidate(name = "是否结算", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "是否结算", name = "asSettled", position = 11)
    private Integer asSettled;

    public CoffinDeadData() {
    }

    public Integer getId() {
        return id;
    }

    public CoffinDeadData setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public CoffinDeadData setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public String getItemName() {
        return itemName;
    }

    public CoffinDeadData setItemName(String itemName) {
        this.itemName = itemName;
        return this;
    }

    public Integer getAsUnsettled() {
        return asUnsettled;
    }

    public CoffinDeadData setAsUnsettled(Integer asUnsettled) {
        this.asUnsettled = asUnsettled;
        return this;
    }

    public Integer getAsSettled() {
        return asSettled;
    }

    public CoffinDeadData setAsSettled(Integer asSettled) {
        this.asSettled = asSettled;
        return this;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public CoffinDeadData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public CoffinDeadData setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public String getDeadAge() {
        return deadAge;
    }

    public CoffinDeadData setDeadAge(String deadAge) {
        this.deadAge = deadAge;
        return this;
    }

    public String getMemberName() {
        return memberName;
    }

    public CoffinDeadData setMemberName(String memberName) {
        this.memberName = memberName;
        return this;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public CoffinDeadData setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
        return this;
    }

    public String getMemberRelation() {
        return memberRelation;
    }

    public CoffinDeadData setMemberRelation(String memberRelation) {
        this.memberRelation = memberRelation;
        return this;
    }
}
